package cn.cnhis.online.activity.login.presenter;

import java.util.Map;

import cn.cnhis.online.activity.login.contract.ILoginContract;
import cn.cnhis.online.activity.login.model.LoginModel;
import cn.cnhis.online.base.BasePresenterJv;

/**
 * @author 刘祥龙
 * @describe
 * @date 2020/2/27  17:16
 * - generate by MvpAutoCodePlus plugin.
 */

public class LoginPresenter extends BasePresenterJv<ILoginContract.View, ILoginContract.Model> implements ILoginContract.Presenter {

    @Override
    protected ILoginContract.Model createModel() {
        return new LoginModel();
    }

    @Override
    public void login(Map map) {
        getModel().login(map, getView());
    }

    @Override
    public void getCode() {
        getModel().getCode(getView());
    }

    @Override
    public void getLogo() {
        getModel().getLogo(getView());
    }

    @Override
    public void getMenuShowColor() {
        getModel().getMenuShowColor(getView());
    }

    @Override
    public void getAppActiveMqInfo() {
        getModel().getAppActiveMqInfo(getView());
    }
}

